
<!DOCTYPE HTML>
<html lang="zh-hans" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>聚类输出 · Passport业务手册</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        <meta name="author" content="xiajie <xiajie01@baidu.com>">
        
        
    
    <link rel="stylesheet" href="../../../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../../../gitbook/gitbook-plugin-multipart/multipart.css">
                
            
                
                <link rel="stylesheet" href="../../../gitbook/gitbook-plugin-codeblock-filename/block.css">
                
            
                
                <link rel="stylesheet" href="../../../gitbook/gitbook-plugin-anchor-navigation-ex/style/plugin.css">
                
            
                
                <link rel="stylesheet" href="../../../gitbook/gitbook-plugin-page-footer-ex/style/plugin.css">
                
            
                
                <link rel="stylesheet" href="../../../gitbook/gitbook-plugin-prism/prism-okaidia.css">
                
            
                
                <link rel="stylesheet" href="../../../gitbook/gitbook-plugin-splitter/splitter.css">
                
            
                
                <link rel="stylesheet" href="../../../gitbook/gitbook-plugin-custom-js-css/03c70a23567f2990c05f5cb8c64400a2-main.css">
                
            
                
                <link rel="stylesheet" href="../../../gitbook/gitbook-plugin-custom-js-css/27b4a027a84f513ce71206e15df835dc-folding-chapters.css">
                
            
                
                <link rel="stylesheet" href="../../../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../../../gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="../../../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../../../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../../../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="../face.html" />
    
    
    <link rel="prev" href="feature.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="输入并搜索" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    
    
    

    

    
        
        <li class="header">[第一章] 开发指南</li>
        
        
    
        <li class="chapter " data-level="1.1" data-path="../../../">
            
                <a href="../../../">
            
                    
                        <b>1.1.</b>
                    
                    前言
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="../../../guides/develop/awareness.html">
            
                <a href="../../../guides/develop/awareness.html">
            
                    
                        <b>1.2.</b>
                    
                    新人必读
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="../../../guides/develop/doc.html">
            
                <a href="../../../guides/develop/doc.html">
            
                    
                        <b>1.3.</b>
                    
                    文档撰写
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="../../../guides/services.html">
            
                <a href="../../../guides/services.html">
            
                    
                        <b>1.4.</b>
                    
                    流量接入介绍
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1" data-path="../../../guides/services/shifen.html">
            
                <a href="../../../guides/services/shifen.html">
            
                    
                        <b>1.4.1.</b>
                    
                    灵渠(shifen平台)
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2" data-path="../../../guides/services/bgw.html">
            
                <a href="../../../guides/services/bgw.html">
            
                    
                        <b>1.4.2.</b>
                    
                    BGW
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.3" data-path="../../../guides/services/bfe.html">
            
                <a href="../../../guides/services/bfe.html">
            
                    
                        <b>1.4.3.</b>
                    
                    BFE
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="../../../guides/passport.html">
            
                <a href="../../../guides/passport.html">
            
                    
                        <b>1.5.</b>
                    
                    Pass技术架构
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.5.1" data-path="../../../guides/passport/dbgate.html">
            
                <a href="../../../guides/passport/dbgate.html">
            
                    
                        <b>1.5.1.</b>
                    
                    DBGATE
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.2" data-path="../../../guides/passport/session.html">
            
                <a href="../../../guides/passport/session.html">
            
                    
                        <b>1.5.2.</b>
                    
                    SESSION
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.6" >
            
                <span>
            
                    
                        <b>1.6.</b>
                    
                    开发环境配置
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.6.1" data-path="../../../guides/environment/instances.html">
            
                <a href="../../../guides/environment/instances.html">
            
                    
                        <b>1.6.1.</b>
                    
                    开发机实例创建
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.2" data-path="../../../guides/environment/server_tool.html">
            
                <a href="../../../guides/environment/server_tool.html">
            
                    
                        <b>1.6.2.</b>
                    
                    开发机配套工具
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.3" data-path="../../../guides/environment/tool.html">
            
                <a href="../../../guides/environment/tool.html">
            
                    
                        <b>1.6.3.</b>
                    
                    本地常用工具
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    
        
        <li class="header">[第二章] 业务项目</li>
        
        
    
        <li class="chapter " data-level="2.1" data-path="../../experiment/">
            
                <a href="../../experiment/">
            
                    
                        <b>2.1.</b>
                    
                    分层实验平台
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.1.1" data-path="../../experiment/concept.html">
            
                <a href="../../experiment/concept.html">
            
                    
                        <b>2.1.1.</b>
                    
                    基本概念
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.1.2" data-path="../../experiment/concept_parse.html">
            
                <a href="../../experiment/concept_parse.html">
            
                    
                        <b>2.1.2.</b>
                    
                    概念剖析
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.1.3" data-path="../../experiment/quick_start.html">
            
                <a href="../../experiment/quick_start.html">
            
                    
                        <b>2.1.3.</b>
                    
                    快速开始
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.1.3.1" data-path="../../experiment/quick_start_experiment.html">
            
                <a href="../../experiment/quick_start_experiment.html">
            
                    
                        <b>2.1.3.1.</b>
                    
                    实验创建
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.1.3.2" data-path="../../experiment/quick_start_usage.html">
            
                <a href="../../experiment/quick_start_usage.html">
            
                    
                        <b>2.1.3.2.</b>
                    
                    业务层应用
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.1.3.3" data-path="../../experiment/quick_start_chart.html">
            
                <a href="../../experiment/quick_start_chart.html">
            
                    
                        <b>2.1.3.3.</b>
                    
                    报表查询
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.1.4" >
            
                <span>
            
                    
                        <b>2.1.4.</b>
                    
                    实现机制
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.1.4.1" data-path="../../experiment/implement_platform.html">
            
                <a href="../../experiment/implement_platform.html">
            
                    
                        <b>2.1.4.1.</b>
                    
                    实验平台
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.1.4.2" data-path="../../experiment/implement_process.html">
            
                <a href="../../experiment/implement_process.html">
            
                    
                        <b>2.1.4.2.</b>
                    
                    实验流程
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.1.4.3" data-path="../../experiment/implement_sdk.html">
            
                <a href="../../experiment/implement_sdk.html">
            
                    
                        <b>2.1.4.3.</b>
                    
                    SDK
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.1.4.4" data-path="../../experiment/implement_expression.html">
            
                <a href="../../experiment/implement_expression.html">
            
                    
                        <b>2.1.4.4.</b>
                    
                    表达式执行器
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.1.4.5" data-path="../../experiment/implement_chart.html">
            
                <a href="../../experiment/implement_chart.html">
            
                    
                        <b>2.1.4.5.</b>
                    
                    通用报表
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.1.5" data-path="../../experiment/cases.html">
            
                <a href="../../experiment/cases.html">
            
                    
                        <b>2.1.5.</b>
                    
                    应用案例
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.1.6" data-path="../../experiment/reference.html">
            
                <a href="../../experiment/reference.html">
            
                    
                        <b>2.1.6.</b>
                    
                    参考资料
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.2" data-path="../../auth-widget/">
            
                <a href="../../auth-widget/">
            
                    
                        <b>2.2.</b>
                    
                    验证控件重构
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.2.1" >
            
                <span>
            
                    
                        <b>2.2.1.</b>
                    
                    当前现状
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.2.1.1" data-path="../../auth-widget/current/authtoken.html">
            
                <a href="../../auth-widget/current/authtoken.html">
            
                    
                        <b>2.2.1.1.</b>
                    
                    初始化阶段
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.1.2" data-path="../../auth-widget/current/render.html">
            
                <a href="../../auth-widget/current/render.html">
            
                    
                        <b>2.2.1.2.</b>
                    
                    渲染阶段
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.1.3" data-path="../../auth-widget/current/check.html">
            
                <a href="../../auth-widget/current/check.html">
            
                    
                        <b>2.2.1.3.</b>
                    
                    验证阶段
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.1.4" data-path="../../auth-widget/current/use.html">
            
                <a href="../../auth-widget/current/use.html">
            
                    
                        <b>2.2.1.4.</b>
                    
                    使用阶段
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.1.5" data-path="../../auth-widget/current/now.html">
            
                <a href="../../auth-widget/current/now.html">
            
                    
                        <b>2.2.1.5.</b>
                    
                    使用场景
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.2.2" data-path="../../auth-widget/refactor.html">
            
                <a href="../../auth-widget/refactor.html">
            
                    
                        <b>2.2.2.</b>
                    
                    重构实现
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.2.2.1" data-path="../../auth-widget/refactor/context.html">
            
                <a href="../../auth-widget/refactor/context.html">
            
                    
                        <b>2.2.2.1.</b>
                    
                    验证控件上下文
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.2.2" data-path="../../auth-widget/refactor/interface.html">
            
                <a href="../../auth-widget/refactor/interface.html">
            
                    
                        <b>2.2.2.2.</b>
                    
                    验证控件抽象
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.2.3" data-path="../../auth-widget/refactor/mobile.html">
            
                <a href="../../auth-widget/refactor/mobile.html">
            
                    
                        <b>2.2.2.3.</b>
                    
                    手机验证
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.2.4" data-path="../../auth-widget/refactor/email.html">
            
                <a href="../../auth-widget/refactor/email.html">
            
                    
                        <b>2.2.2.4.</b>
                    
                    邮箱验证
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.2.5" data-path="../../auth-widget/refactor/facematch.html">
            
                <a href="../../auth-widget/refactor/facematch.html">
            
                    
                        <b>2.2.2.5.</b>
                    
                    刷脸验证
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.2.3" >
            
                <span>
            
                    
                        <b>2.2.3.</b>
                    
                    新版使用
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.2.3.1" data-path="../../auth-widget/new/authtoken.html">
            
                <a href="../../auth-widget/new/authtoken.html">
            
                    
                        <b>2.2.3.1.</b>
                    
                    初始化阶段
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.3.2" data-path="../../auth-widget/new/render.html">
            
                <a href="../../auth-widget/new/render.html">
            
                    
                        <b>2.2.3.2.</b>
                    
                    渲染阶段
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.3.3" data-path="../../auth-widget/new/check.html">
            
                <a href="../../auth-widget/new/check.html">
            
                    
                        <b>2.2.3.3.</b>
                    
                    验证阶段
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.3.4" data-path="../../auth-widget/new/use.html">
            
                <a href="../../auth-widget/new/use.html">
            
                    
                        <b>2.2.3.4.</b>
                    
                    使用阶段
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.3" data-path="../../mobile-refactor/">
            
                <a href="../../mobile-refactor/">
            
                    
                        <b>2.3.</b>
                    
                    联系手机
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.3.1" data-path="../../mobile-refactor/ppui.html">
            
                <a href="../../mobile-refactor/ppui.html">
            
                    
                        <b>2.3.1.</b>
                    
                    业务层
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.2" data-path="../../mobile-refactor/dbgate.html">
            
                <a href="../../mobile-refactor/dbgate.html">
            
                    
                        <b>2.3.2.</b>
                    
                    后端
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.3" data-path="../../mobile-refactor/plan.html">
            
                <a href="../../mobile-refactor/plan.html">
            
                    
                        <b>2.3.3.</b>
                    
                    开发方案
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.4" data-path="../../portrait-to-orp/orp/">
            
                <a href="../../portrait-to-orp/orp/">
            
                    
                        <b>2.4.</b>
                    
                    头像迁移ORP
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.4.1" data-path="../../portrait-to-orp/orp/evaluate.html">
            
                <a href="../../portrait-to-orp/orp/evaluate.html">
            
                    
                        <b>2.4.1.</b>
                    
                    流量评估
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.4.2" data-path="../../portrait-to-orp/orp/deploy.html">
            
                <a href="../../portrait-to-orp/orp/deploy.html">
            
                    
                        <b>2.4.2.</b>
                    
                    服务部署
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.4.3" data-path="../../portrait-to-orp/orp/test.html">
            
                <a href="../../portrait-to-orp/orp/test.html">
            
                    
                        <b>2.4.3.</b>
                    
                    测试方案
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.4.4" data-path="../../portrait-to-orp/orp/test-result.html">
            
                <a href="../../portrait-to-orp/orp/test-result.html">
            
                    
                        <b>2.4.4.</b>
                    
                    测试结论
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.4.5" data-path="../../portrait-to-orp/orp/bug.html">
            
                <a href="../../portrait-to-orp/orp/bug.html">
            
                    
                        <b>2.4.5.</b>
                    
                    BUG收集
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.4.6" data-path="../../portrait-to-orp/orp/service.html">
            
                <a href="../../portrait-to-orp/orp/service.html">
            
                    
                        <b>2.4.6.</b>
                    
                    依赖服务梳理
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.4.7" data-path="../../portrait-to-orp/orp/monitor.html">
            
                <a href="../../portrait-to-orp/orp/monitor.html">
            
                    
                        <b>2.4.7.</b>
                    
                    监控规则梳理
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.4.8" data-path="../../portrait-to-orp/orp/plan.html">
            
                <a href="../../portrait-to-orp/orp/plan.html">
            
                    
                        <b>2.4.8.</b>
                    
                    计划排期
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.5" data-path="../../experiment/trace/">
            
                <a href="../../experiment/trace/">
            
                    
                        <b>2.5.</b>
                    
                    TraceID机制
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.5.1" data-path="../../experiment/trace/concept.html">
            
                <a href="../../experiment/trace/concept.html">
            
                    
                        <b>2.5.1.</b>
                    
                    基本概念
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.5.2" >
            
                <span>
            
                    
                        <b>2.5.2.</b>
                    
                    实现机制
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.5.2.1" data-path="../../experiment/trace/trace_id.html">
            
                <a href="../../experiment/trace/trace_id.html">
            
                    
                        <b>2.5.2.1.</b>
                    
                    TraceID及管理器
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.5.2.2" data-path="../../experiment/trace/flow_id.html">
            
                <a href="../../experiment/trace/flow_id.html">
            
                    
                        <b>2.5.2.2.</b>
                    
                    流程定义
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.5.2.3" data-path="../../experiment/trace/flow_handle.html">
            
                <a href="../../experiment/trace/flow_handle.html">
            
                    
                        <b>2.5.2.3.</b>
                    
                    流程处理
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.5.2.4" data-path="../../experiment/trace/exp_append_trace_id.html">
            
                <a href="../../experiment/trace/exp_append_trace_id.html">
            
                    
                        <b>2.5.2.4.</b>
                    
                    小流量实验
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.5.2.5" data-path="../../experiment/trace/trace_id_transfer.html">
            
                <a href="../../experiment/trace/trace_id_transfer.html">
            
                    
                        <b>2.5.2.5.</b>
                    
                    TraceID传递
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.5.2.5.1" data-path="../../experiment/trace/trace_id_transfer_ppui.html">
            
                <a href="../../experiment/trace/trace_id_transfer_ppui.html">
            
                    
                        <b>2.5.2.5.1.</b>
                    
                    PPUI
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.5.2.5.2" data-path="../../experiment/trace/trace_id_transfer_fe.html">
            
                <a href="../../experiment/trace/trace_id_transfer_fe.html">
            
                    
                        <b>2.5.2.5.2.</b>
                    
                    FE
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.5.2.5.3" data-path="../../experiment/trace/trace_id_transfer_na.html">
            
                <a href="../../experiment/trace/trace_id_transfer_na.html">
            
                    
                        <b>2.5.2.5.3.</b>
                    
                    NA端
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.5.2.6" data-path="../../experiment/trace/log.html">
            
                <a href="../../experiment/trace/log.html">
            
                    
                        <b>2.5.2.6.</b>
                    
                    日志记录
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.6" data-path="../">
            
                <a href="../">
            
                    
                        <b>2.6.</b>
                    
                    人脸聚类
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.6.1" >
            
                <span>
            
                    
                        <b>2.6.1.</b>
                    
                    存量聚类
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.6.1.1" data-path="feature.html">
            
                <a href="feature.html">
            
                    
                        <b>2.6.1.1.</b>
                    
                    特征提取
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="2.6.1.2" data-path="cluster.html">
            
                <a href="cluster.html">
            
                    
                        <b>2.6.1.2.</b>
                    
                    聚类输出
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.6.2" data-path="../face.html">
            
                <a href="../face.html">
            
                    
                        <b>2.6.2.</b>
                    
                    人脸管理
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.6.2.1" data-path="../face/register.html">
            
                <a href="../face/register.html">
            
                    
                        <b>2.6.2.1.</b>
                    
                    人脸注册
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.6.2.2" data-path="../face/search.html">
            
                <a href="../face/search.html">
            
                    
                        <b>2.6.2.2.</b>
                    
                    人脸搜索
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.6.3" >
            
                <span>
            
                    
                        <b>2.6.3.</b>
                    
                    业务改造
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.6.3.1" data-path="../refactor/face.html">
            
                <a href="../refactor/face.html">
            
                    
                        <b>2.6.3.1.</b>
                    
                    刷脸开关
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.6.3.2" data-path="../refactor/face_login.html">
            
                <a href="../refactor/face_login.html">
            
                    
                        <b>2.6.3.2.</b>
                    
                    刷脸登录
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.6.4" data-path="../question.html">
            
                <a href="../question.html">
            
                    
                        <b>2.6.4.</b>
                    
                    问题探讨
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.7" data-path="../../face-platform/">
            
                <a href="../../face-platform/">
            
                    
                        <b>2.7.</b>
                    
                    Pass人脸库建设
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.7.1" data-path="../../face-platform/phase-1.html">
            
                <a href="../../face-platform/phase-1.html">
            
                    
                        <b>2.7.1.</b>
                    
                    一期
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.7.2" data-path="../../face-platform/phase-2.html">
            
                <a href="../../face-platform/phase-2.html">
            
                    
                        <b>2.7.2.</b>
                    
                    二期
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.8" data-path="../../ipv6/">
            
                <a href="../../ipv6/">
            
                    
                        <b>2.8.</b>
                    
                    IPV6兼容改造
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.9" >
            
                <span>
            
                    
                        <b>2.9.</b>
                    
                    NA登录重构
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.9.1" data-path="../../nalogin-refactor/">
            
                <a href="../../nalogin-refactor/">
            
                    
                        <b>2.9.1.</b>
                    
                    需求
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.9.2" data-path="../../nalogin-refactor/experiment.html">
            
                <a href="../../nalogin-refactor/experiment.html">
            
                    
                        <b>2.9.2.</b>
                    
                    新版页面小流量方案
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.9.3" >
            
                <span>
            
                    
                        <b>2.9.3.</b>
                    
                    接口改造
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.9.3.1" data-path="../../nalogin-refactor/refactor/check.html">
            
                <a href="../../nalogin-refactor/refactor/check.html">
            
                    
                        <b>2.9.3.1.</b>
                    
                    帐号检测
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.9.3.2" data-path="../../nalogin-refactor/refactor/history.html">
            
                <a href="../../nalogin-refactor/refactor/history.html">
            
                    
                        <b>2.9.3.2.</b>
                    
                    获取登录历史
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.9.3.3" data-path="../../nalogin-refactor/refactor/sendSMS.html">
            
                <a href="../../nalogin-refactor/refactor/sendSMS.html">
            
                    
                        <b>2.9.3.3.</b>
                    
                    发送短信验证码
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.9.3.4" data-path="../../nalogin-refactor/refactor/smsLogin.html">
            
                <a href="../../nalogin-refactor/refactor/smsLogin.html">
            
                    
                        <b>2.9.3.4.</b>
                    
                    短信登录
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.9.3.5" data-path="../../nalogin-refactor/refactor/login.html">
            
                <a href="../../nalogin-refactor/refactor/login.html">
            
                    
                        <b>2.9.3.5.</b>
                    
                    帐密登录
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.9.4" data-path="../../nalogin-refactor/smarty.html">
            
                <a href="../../nalogin-refactor/smarty.html">
            
                    
                        <b>2.9.4.</b>
                    
                    smarty模板
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.10" data-path="../../login-refactor/">
            
                <a href="../../login-refactor/">
            
                    
                        <b>2.10.</b>
                    
                    登录服务重构
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.10.1" data-path="../../login-refactor/api.html">
            
                <a href="../../login-refactor/api.html">
            
                    
                        <b>2.10.1.</b>
                    
                    接口设计
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.10.2" data-path="../../login-refactor/server.html">
            
                <a href="../../login-refactor/server.html">
            
                    
                        <b>2.10.2.</b>
                    
                    服务端实现
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.10.3" data-path="../../login-refactor/plan.html">
            
                <a href="../../login-refactor/plan.html">
            
                    
                        <b>2.10.3.</b>
                    
                    开发计划
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.11" data-path="../../portrait-url-refactor/">
            
                <a href="../../portrait-url-refactor/">
            
                    
                        <b>2.11.</b>
                    
                    头像地址重构
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.12" data-path="../../portrait-to-bos/">
            
                <a href="../../portrait-to-bos/">
            
                    
                        <b>2.12.</b>
                    
                    头像存储迁移
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.13" data-path="../../log-masking/">
            
                <a href="../../log-masking/">
            
                    
                        <b>2.13.</b>
                    
                    业务日志脱敏
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">[第三章] 服务接入</li>
        
        
    
        <li class="chapter " data-level="3.1" data-path="../../../open/auth-widget/">
            
                <a href="../../../open/auth-widget/">
            
                    
                        <b>3.1.</b>
                    
                    验证控件
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="3.1.1" data-path="../../../open/auth-widget/prepare.html">
            
                <a href="../../../open/auth-widget/prepare.html">
            
                    
                        <b>3.1.1.</b>
                    
                    前期准备
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.1.2" data-path="../../../open/auth-widget/token.html">
            
                <a href="../../../open/auth-widget/token.html">
            
                    
                        <b>3.1.2.</b>
                    
                    AuthToken生成
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.1.3" data-path="../../../open/auth-widget/wap.html">
            
                <a href="../../../open/auth-widget/wap.html">
            
                    
                        <b>3.1.3.</b>
                    
                    NA/WAP端接入
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.1.4" data-path="../../../open/auth-widget/pc.html">
            
                <a href="../../../open/auth-widget/pc.html">
            
                    
                        <b>3.1.4.</b>
                    
                    PC端接入
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.1.5" data-path="../../../open/auth-widget/auth.html">
            
                <a href="../../../open/auth-widget/auth.html">
            
                    
                        <b>3.1.5.</b>
                    
                    合法性校验
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.1.6" data-path="../../../open/auth-widget/code.html">
            
                <a href="../../../open/auth-widget/code.html">
            
                    
                        <b>3.1.6.</b>
                    
                    附:验证控件SDK源码
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="3.2" data-path="../../../open/portrait/">
            
                <a href="../../../open/portrait/">
            
                    
                        <b>3.2.</b>
                    
                    头像接入
            
                </a>
            

            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            本书使用 GitBook 发布
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="../../.." >聚类输出</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="&#x540D;&#x8BCD;"><a name="&#x540D;&#x8BCD;" class="anchor-navigation-ex-anchor" href="#&#x540D;&#x8BCD;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x540D;&#x8BCD;</h1>
<ul>
<li>&#x7279;&#x5F81;=&#x5411;&#x91CF;=&#x70B9;</li>
<li>&#x5206;&#x7EC4;=&#x805A;&#x7C7B;=&#x7C07;</li>
<li>&#x5939;&#x89D2;cos=dot=&#x5185;&#x79EF;=&#x76F8;&#x4F3C;&#x5EA6;</li>
<li>&#x8DDD;&#x79BB;=1-&#x76F8;&#x4F3C;&#x5EA6;</li>
</ul>
<h1 id="&#x6587;&#x4EF6;&#x76EE;&#x5F55;"><a name="&#x6587;&#x4EF6;&#x76EE;&#x5F55;" class="anchor-navigation-ex-anchor" href="#&#x6587;&#x4EF6;&#x76EE;&#x5F55;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x6587;&#x4EF6;&#x76EE;&#x5F55;</h1>
<pre class="language-"><code class="lang-bash">/bin/demo-cluster <span class="token comment"># &#x4E3B;&#x7A0B;&#x5E8F;</span>
/conf <span class="token comment"># &#x6837;&#x4F8B;&#x914D;&#x7F6E;&#x6587;&#x4EF6;</span>
/data <span class="token comment"># &#x6837;&#x4F8B;&#x805A;&#x7C7B;&#x6570;&#x636E;</span>
/tools/make_data.py <span class="token comment"># &#x751F;&#x6210;&#x968F;&#x673A;&#x7279;&#x5F81;&#x7684;&#x5DE5;&#x5177;</span>
</code></pre>
<h1 id="&#x6267;&#x884C;&#x65B9;&#x5F0F;"><a name="&#x6267;&#x884C;&#x65B9;&#x5F0F;" class="anchor-navigation-ex-anchor" href="#&#x6267;&#x884C;&#x65B9;&#x5F0F;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x6267;&#x884C;&#x65B9;&#x5F0F;</h1>
<pre class="language-"><code class="lang-bash">./demo-cluster conf_file data_file point_index_file group_point_file group_info_file

<span class="token comment"># demo-cluster       &#x4E3B;&#x7A0B;&#x5E8F;</span>
<span class="token comment"># conf_file          &#x805A;&#x7C7B;&#x7684;&#x914D;&#x7F6E;&#x6587;&#x4EF6;</span>
<span class="token comment"># data_file          &#x8F93;&#x5165;&#x7279;&#x5F81;&#x6587;&#x4EF6;</span>
<span class="token comment"># point_index_file   &#x7279;&#x5F81;&#x5206;&#x7EC4;&#x8F93;&#x51FA;&#x6587;&#x4EF6;</span>
<span class="token comment"># group_point_file   &#x805A;&#x7C7B;&#x5185;&#x5BB9;&#x8F93;&#x51FA;&#x6587;&#x4EF6;</span>
<span class="token comment"># group_info_file    &#x805A;&#x7C7B;&#x4FE1;&#x606F;&#x8F93;&#x51FA;&#x6587;&#x4EF6;</span>
</code></pre>
<p><strong>&#x793A;&#x4F8B;&#xFF1A;</strong></p>
<pre class="language-"><code class="lang-bash">bin/demo-cluster conf/128_2_35.conf data/128_100000.data <span class="token number">1</span> <span class="token number">2</span> <span class="token number">3</span>
</code></pre>
<h1 id="conffile&#x914D;&#x7F6E;&#x6587;&#x4EF6;"><a name="conffile&#x914D;&#x7F6E;&#x6587;&#x4EF6;" class="anchor-navigation-ex-anchor" href="#conffile&#x914D;&#x7F6E;&#x6587;&#x4EF6;"><i class="fa fa-link" aria-hidden="true"></i></a>conf_file&#x914D;&#x7F6E;&#x6587;&#x4EF6;</h1>
<pre class="language-"><code class="lang-bash"><span class="token punctuation">[</span>engine<span class="token punctuation">]</span>
dimension: <span class="token number">128</span>          <span class="token comment"># &#x7279;&#x5F81;&#x5411;&#x91CF;&#x7EF4;&#x6570;</span>
expected_groups: <span class="token number">10</span>     <span class="token comment"># &#x671F;&#x671B;&#x805A;&#x7C7B;&#x6570;&#x91CF;&#xFF0C;&#x5BF9;&#x4E8E;&#x589E;&#x91CF;&#x805A;&#x7C7B;&#x4E0D;&#x8D77;&#x4F5C;&#x7528;</span>
contour_points: <span class="token number">12</span>      <span class="token comment"># &#x8FB9;&#x7F18;&#x70B9;&#x4E2A;&#x6570;</span>
maximum_points: <span class="token number">99999999</span>    <span class="token comment"># &#x4E00;&#x4E2A;&#x7C07;&#x5185;&#x6700;&#x5927;&#x7279;&#x5F81;&#x6570;&#xFF0C;&#x5F53;&#x524D;&#x4E0D;&#x652F;&#x6301;</span>
block_minsize: <span class="token number">2</span>        <span class="token comment"># &#x6700;&#x5C0F;&#x5757;&#x5185;&#x7279;&#x5F81;&#x6570;&#xFF0C;&#x56FA;&#x5B9A;&#x4E3A;2</span>
block_maxsize: <span class="token number">4096</span>     <span class="token comment"># &#x6700;&#x5927;&#x5757;&#x5185;&#x7279;&#x5F81;&#x6570;&#xFF0C;&#x56FA;&#x5B9A;2&#x7684;&#x6574;&#x6570;&#x6B21;&#x5E42;&#xFF0C;4 * dimension * block_maxsize&#x5373;&#x4E00;&#x4E2A;&#x5185;&#x5B58;&#x5757;&#x7684;&#x6700;&#x5927;&#x5C3A;&#x5BF8;&#xFF0C;&#x4E00;&#x822C;&#x4E0D;&#x8981;&#x8BBE;&#x7F6E;&#x8D85;&#x8FC7;64M&#x5927;&#xFF0C;&#x4E5F;&#x4E0D;&#x8981;&#x8BBE;&#x7F6E;&#x5C0F;&#x4E8E;1M&#x3002;</span>
dot_f2c: <span class="token number">0.35</span>           <span class="token comment"># &#x70B9;&#x4E0E;&#x7C07;&#x4E2D;&#x5FC3;&#x5939;&#x89D2;cos&#x503C;&#x5927;&#x4E8E;&#x6B64;&#x9608;&#x503C;&#xFF0C;&#x8BA4;&#x4E3A;&#x70B9;&#x5F52;&#x8FD9;&#x4E2A;&#x7C07; </span>
dot_c2c: <span class="token number">0.35</span>           <span class="token comment"># &#x7C07;&#x5408;&#x5E76;&#x524D;&#xFF0C;&#x5224;&#x65AD;&#x5047;&#x8BBE;&#x5408;&#x5E76;&#x540E;&#x7684;&#x7C07;&#xFF0C;&#x8FB9;&#x7F18;&#x70B9;&#x4E0E;&#x7C07;&#x4E2D;&#x5FC3;&#x70B9;&#x5939;&#x89D2;cos&#x5E73;&#x5747;&#x503C;&#x5927;&#x4E8E;&#x6B64;&#x9608;&#x503C;&#xFF0C;&#x53EF;&#x4EE5;&#x6267;&#x884C;&#x5408;&#x5E76;&#x7C07;</span>

<span class="token punctuation">[</span>cluster<span class="token punctuation">]</span>
<span class="token comment"># 1 = split, 2 = cluster</span>
type: <span class="token number">2</span>                 <span class="token comment"># 1&#x4E3A;&#x6309;&#x5E8F;&#x53F7;&#x5206;&#x7EC4;&#x6210;&#x7C07;&#xFF0C;2&#x4E3A;&#x589E;&#x91CF;&#x805A;&#x7C7B;&#x6210;&#x7C07;</span>

<span class="token punctuation">[</span>calc<span class="token punctuation">]</span>
thread_num: <span class="token number">4</span>           <span class="token comment"># &#x805A;&#x7C7B;&#x65F6;MKL&#x8BA1;&#x7B97;&#x5E93;&#x5E76;&#x53D1;&#x7EBF;&#x7A0B;&#x6570;&#xFF0C;0&#x4E3A;&#x6700;&#x5927;&#x7EBF;&#x7A0B;&#x6570;&#xFF0C;&#x53EA;&#x6709;&#x5927;&#x8BA1;&#x7B97;&#x91CF;&#x65F6;&#x624D;&#x8D77;&#x4F5C;&#x7528;&#xFF0C;&#x5C11;&#x91CF;&#x6570;&#x636E;&#x805A;&#x7C7B;&#xFF0C;&#x5373;&#x4FBF;&#x8BBE;&#x7F6E;&#x5B9E;&#x9645;&#x4E0A;&#x4E5F;&#x53EA;&#x6709;&#x4E00;&#x4E2A;&#x7EBF;&#x7A0B;&#x5728;&#x8BA1;&#x7B97;&#x3002;</span>
</code></pre>
<h1 id="datafile&#x6587;&#x4EF6;&#x8BF4;&#x660E;"><a name="datafile&#x6587;&#x4EF6;&#x8BF4;&#x660E;" class="anchor-navigation-ex-anchor" href="#datafile&#x6587;&#x4EF6;&#x8BF4;&#x660E;"><i class="fa fa-link" aria-hidden="true"></i></a>data_file&#x6587;&#x4EF6;&#x8BF4;&#x660E;</h1>
<p>&#x6587;&#x672C;&#x6587;&#x4EF6;&#xFF0C;&#x6BCF;&#x4E2A;&#x7279;&#x5F81;&#x4E00;&#x884C;&#xFF0C;&#x7B2C;&#x51E0;&#x884C;&#x5373;&#x8BA4;&#x4E3A;&#x6B64;&#x7279;&#x5F81;&#x7684;id&#x53F7;&#x4E3A;&#x51E0;<br>&#x7EF4;&#x5EA6;&#x95F4;&#x7528;&#x5236;&#x8868;&#x7B26;&#x5206;&#x9694;&#xFF08;&#x7528;&#x7A7A;&#x683C;&#x4F1A;core&#x6389;&#xFF09;<br>&#x7279;&#x5F81;&#x8981;&#x6C42;&#x9884;&#x5148;&#x505A;&#x597D;&#x5F52;&#x4E00;&#x5316;&#xFF0C;&#x5373;&#x5404;&#x7EF4;&#x5EA6;&#x5E73;&#x65B9;&#x52A0;&#x548C;=1.0&#xFF0C;make_data.py&#x5185;&#x6709;&#x5F52;&#x4E00;&#x5316;&#x5B9E;&#x73B0;</p>
<p>&#x8303;&#x4F8B;&#xFF1A;cat 4_10.data&#xFF08;4&#x7EF4;&#x5EA6;&#xFF0C;10&#x4E2A;&#x7279;&#x5F81;&#xFF09;</p>
<pre class="language-"><code class="lang-bash">-0.010957       -0.521724       <span class="token number">0.023132</span>        -0.852730
-0.131970       <span class="token number">0.690148</span>        -0.533768       <span class="token number">0.470501</span>
<span class="token number">0.198530</span>        -0.590600       <span class="token number">0.684447</span>        <span class="token number">0.378563</span>
<span class="token number">0.386598</span>        -0.581215       <span class="token number">0.368220</span>        -0.614122
-0.552170       -0.296190       -0.684767       <span class="token number">0.372120</span>
-0.187737       <span class="token number">0.589193</span>        <span class="token number">0.571545</span>        -0.539391
-0.736528       -0.076287       -0.643461       -0.194075
-0.424504       <span class="token number">0.556650</span>        -0.601352       <span class="token number">0.385114</span>
-0.738840       <span class="token number">0.211543</span>        -0.365495       -0.525146
-0.459231       -0.108437       <span class="token number">0.688314</span>        -0.550973
</code></pre>
<h1 id="&#x7A0B;&#x5E8F;&#x65E5;&#x5FD7;&#x8F93;&#x51FA;"><a name="&#x7A0B;&#x5E8F;&#x65E5;&#x5FD7;&#x8F93;&#x51FA;" class="anchor-navigation-ex-anchor" href="#&#x7A0B;&#x5E8F;&#x65E5;&#x5FD7;&#x8F93;&#x51FA;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x7A0B;&#x5E8F;&#x65E5;&#x5FD7;&#x8F93;&#x51FA;</h1>
<pre class="language-"><code>output/bin/demo-cluster conf/128_2_35.conf tools/128_100000.data 1 2 3
engine.dimension:128
engine.expected_groups:10
engine.contour_points:20
engine.maximum_points:99999999
engine.block_minsize:2
engine.block_maxsize:4096
engine.dot_f2c:0.35
engine.dot_c2c:0.35
calc.thread_num:4
cluster.type:2
==================== &#x4EE5;&#x4E0A;&#x5747;&#x4E3A;&#x6253;&#x5370;&#x7684;&#x914D;&#x7F6E;&#x6587;&#x4EF6;
point size:100000           # &#x7279;&#x5F81;&#x6570;
start cluster ...
finish cluster, group size: 36891   # &#x805A;&#x7C7B;&#x7ED3;&#x679C;&#x6570;&#x91CF;
engine point size:100000
engine group size:36891
engine info size:36891
cluster process time:26 second      # &#x603B;&#x6267;&#x884C;&#x65F6;&#x95F4;
cluster execute time:21 second      # &#x805A;&#x7C7B;&#x6267;&#x884C;&#x65F6;&#x95F4;
dot point_to_point:238.095 Mdps     # &#x70B9;&#x70B9;&#x5185;&#x79EF;&#x8BA1;&#x7B97;&#x901F;&#x5EA6; &#x6027;&#x80FD;&#x4E0D;&#x4F4E;&#x4E8E; thread_num * 5Mdps
dot point_to_group:175.671 Mdps     # &#x70B9;&#x7C07;&#x5185;&#x79EF;&#x8BA1;&#x7B97;&#x901F;&#x5EA6; &#x6027;&#x80FD;&#x4E0D;&#x4F4E;&#x4E8E; thread_num * 5Mdps
demo cluster ok
</code></pre><p>&#x5982;&#x679C;&#x6570;&#x636E;&#x91CF;&#x592A;&#x5C11;&#xFF0C;&#x805A;&#x7C7B;&#x65F6;&#x95F4;&#x5C11;&#x4E8E;1&#x79D2;&#xFF0C;&#x5219;&#x4E0D;&#x8F93;&#x51FA;&#x8BA1;&#x7B97;&#x901F;&#x5EA6;&#x3002;</p>
<h1 id="pointindexfile&#x6587;&#x4EF6;&#x8BF4;&#x660E;"><a name="pointindexfile&#x6587;&#x4EF6;&#x8BF4;&#x660E;" class="anchor-navigation-ex-anchor" href="#pointindexfile&#x6587;&#x4EF6;&#x8BF4;&#x660E;"><i class="fa fa-link" aria-hidden="true"></i></a>point_index_file&#x6587;&#x4EF6;&#x8BF4;&#x660E;</h1>
<p>&#x4E24;&#x5217;&#xFF0C;&#x7B2C;&#x4E00;&#x5217;&#x4E3A;&#x7279;&#x5F81;&#x5E8F;&#x53F7;&#xFF0C;&#x7B2C;&#x4E8C;&#x5217;&#x4E3A;&#x7C07;&#x5E8F;&#x53F7;
&#x8303;&#x4F8B;&#xFF1A;head 1 -n 5</p>
<pre class="language-"><code class="lang-bash"><span class="token number">0</span>       <span class="token number">17582</span>
<span class="token number">1</span>       <span class="token number">24676</span>
<span class="token number">2</span>       <span class="token number">75</span>
<span class="token number">3</span>       <span class="token number">21592</span>
<span class="token number">4</span>       <span class="token number">7768</span>
</code></pre>
<h1 id="groupindexfile&#x6587;&#x4EF6;&#x8BF4;&#x660E;"><a name="groupindexfile&#x6587;&#x4EF6;&#x8BF4;&#x660E;" class="anchor-navigation-ex-anchor" href="#groupindexfile&#x6587;&#x4EF6;&#x8BF4;&#x660E;"><i class="fa fa-link" aria-hidden="true"></i></a>group_index_file&#x6587;&#x4EF6;&#x8BF4;&#x660E;</h1>
<p>&#x4E09;&#x5217;&#xFF0C;&#x7B2C;&#x4E00;&#x5217;&#x4E3A;&#x7C07;&#x7684;&#x5E8F;&#x53F7;&#xFF0C;&#x7B2C;&#x4E8C;&#x5217;&#x4E3A;&#x7C07;&#x5185;&#x7279;&#x5F81;&#x4E2A;&#x6570;&#xFF0C;&#x7B2C;&#x4E09;&#x5217;&#x4E3A;&#x9017;&#x53F7;&#x5206;&#x9694;&#x7684;&#x7279;&#x5F81;&#x5E8F;&#x53F7;
&#x8303;&#x4F8B;&#xFF1A;head 2 -n 5</p>
<pre class="language-"><code>0       11      5,11865,50053,55524,43982,15373,31224,33081,61866,34183,60235
1       3       6,30341,30768
2       2       8,45212
3       3       10,32845,78832
4       3       11,30877,37697
</code></pre><p><code>&#x7ED3;&#x679C;&#xFF1A;</code>&#x7B2C;&#x4E09;&#x5217;&#x8868;&#x793A;&#x8FD9;&#x4E9B;&#x7279;&#x5F81;&#x5C5E;&#x4E8E;&#x4E00;&#x7C07;&#xFF0C;&#x5373;&#x8BA4;&#x4E3A;&#x662F;&#x540C;&#x4E00;&#x81EA;&#x7136;&#x4EBA;&#xFF0C;&#x6839;&#x636E;&#x7D22;&#x5F15;&#x8868;&#x627E;&#x5230;&#x5BF9;&#x5E94;&#x7684;uid&#x53CA;&#x56FE;&#x7247;&#x8FDB;&#x884C;&#x6548;&#x679C;&#x89C2;&#x5BDF;&#xFF0C;&#x53C2;&#x6570;&#x8C03;&#x6574;&#x3002;</p>
<h1 id="groupinfofile&#x6587;&#x4EF6;&#x8BF4;&#x660E;"><a name="groupinfofile&#x6587;&#x4EF6;&#x8BF4;&#x660E;" class="anchor-navigation-ex-anchor" href="#groupinfofile&#x6587;&#x4EF6;&#x8BF4;&#x660E;"><i class="fa fa-link" aria-hidden="true"></i></a>group_info_file&#x6587;&#x4EF6;&#x8BF4;&#x660E;</h1>
<p>&#x4E94;&#x5217;&#xFF0C;&#x7B2C;&#x4E00;&#x5217;&#x4E3A;&#x7C07;&#x7684;&#x5E8F;&#x53F7;&#xFF0C;&#x7B2C;&#x4E8C;&#x5217;&#x4E3A;&#x7C07;&#x5185;&#x7279;&#x5F81;&#x4E2A;&#x6570;&#xFF0C;&#x7B2C;&#x4E09;&#x5217;&#x4E3A;&#x7C07;&#x5185;&#x7279;&#x5F81;&#x4E0E;&#x4E2D;&#x5FC3;&#x70B9;&#x5E73;&#x5747;&#x76F8;&#x4F3C;&#x5EA6;&#xFF0C;&#x7B2C;&#x56DB;&#x5217;&#x4E3A;&#x7B97;&#x65B9;&#x5DEE;&#x540E;&#x7684;&#x76F8;&#x4F3C;&#x5EA6;&#xFF0C;&#x7B2C;&#x4E94;&#x5217;&#x4E3A;&#x9017;&#x53F7;&#x5206;&#x5272;&#x7684;&#x4E2D;&#x5FC3;&#x70B9;&#x6570;&#x636E;
&#x8303;&#x4F8B;&#xFF1A;head 3 -n 5</p>
<pre class="language-"><code class="lang-bash"><span class="token number">0</span>       <span class="token number">11</span>      <span class="token number">0.450485</span>        <span class="token number">0.431528</span>        <span class="token number">0.092303</span>,0.057587<span class="token punctuation">..</span>.
<span class="token number">1</span>       <span class="token number">3</span>       <span class="token number">0.748475</span>        <span class="token number">0.745025</span>        -0.112859,-0.129914<span class="token punctuation">..</span>.
<span class="token number">2</span>       <span class="token number">2</span>       <span class="token number">0.822097</span>        <span class="token number">0.822097</span>        -0.091546,-0.152009
<span class="token number">3</span>       <span class="token number">3</span>       <span class="token number">0.738211</span>        <span class="token number">0.733064</span>        -0.011960,-0.021156<span class="token punctuation">..</span>.
<span class="token number">4</span>       <span class="token number">3</span>       <span class="token number">0.739786</span>        <span class="token number">0.736428</span>        -0.118267,-0.005159
</code></pre>
<h1 id="todo"><a name="todo" class="anchor-navigation-ex-anchor" href="#todo"><i class="fa fa-link" aria-hidden="true"></i></a>TODO</h1>
<p>&#x540C;&#x4E00;&#x7C07;&#x5185;&#x5E95;&#x56FE;&#x9009;&#x53D6;&#x3002;</p>
<footer class="page-footer-ex"> <span class="page-footer-ex-copyright"> &#xA9; fzu </span> &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; <span class="page-footer-ex-footer-update"> &#x6700;&#x540E;&#x4FEE;&#x6539;: 2020-07-14 </span> </footer>
                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="feature.html" class="navigation navigation-prev " aria-label="Previous page: 特征提取">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="../face.html" class="navigation navigation-next " aria-label="Next page: 人脸管理">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"聚类输出","level":"2.6.1.2","depth":3,"next":{"title":"人脸管理","level":"2.6.2","depth":2,"path":"projects/face-cluster/face.md","ref":"projects/face-cluster/face.md","articles":[{"title":"人脸注册","level":"2.6.2.1","depth":3,"path":"projects/face-cluster/face/register.md","ref":"projects/face-cluster/face/register.md","articles":[]},{"title":"人脸搜索","level":"2.6.2.2","depth":3,"path":"projects/face-cluster/face/search.md","ref":"projects/face-cluster/face/search.md","articles":[]}]},"previous":{"title":"特征提取","level":"2.6.1.1","depth":3,"path":"projects/face-cluster/clustering/feature.md","ref":"projects/face-cluster/clustering/feature.md","articles":[]},"dir":"ltr"},"config":{"plugins":["multipart","codeblock-filename","anchor-navigation-ex","page-footer-ex","prism","splitter","custom-js-css","-sharing"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"prism":{"css":["prismjs/themes/prism-okaidia.css"]},"page-footer-ex":{"copyright":"© fzu","markdown":true,"update_format":"YYYY-MM-DD","update_label":"最后修改:"},"splitter":{},"search":{},"multipart":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"anchor-navigation-ex":{"associatedWithSummary":true,"float":{"floatIcon":"fa fa-navicon","level1Icon":"","level2Icon":"","level3Icon":"","showLevelIcon":false},"mode":"float","multipleH1":true,"pageTop":{"level1Icon":"","level2Icon":"","level3Icon":"","showLevelIcon":false},"printLog":false,"showGoTop":true,"showLevel":true},"codeblock-filename":{},"custom-js-css":{"css":["assets/css/main.css","assets/css/folding-chapters.css"],"js":["assets/js/folding-chapters.js"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":true}},"theme":"default","author":"xiajie <xiajie01@baidu.com>","pdf":{"pageBreaksBefore":"/","headerTemplate":null,"paperSize":"a4","margin":{"right":62,"left":62,"top":36,"bottom":36},"fontSize":12,"fontFamily":"Arial","footerTemplate":null,"chapterMark":"pagebreak","pageNumbers":true},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"isbn":"","variables":{},"title":"Passport业务手册","language":"zh-hans","links":{"sharing":{"all":null,"facebook":null,"google":null,"twitter":null,"weibo":null},"sidebar":{}},"gitbook":"*","description":"Passport业务手册","extension":null},"file":{"path":"projects/face-cluster/clustering/cluster.md","mtime":"2020-07-14T00:09:41.353Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2020-07-14T00:46:01.528Z"},"basePath":"../../..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../../../gitbook/gitbook.js"></script>
    <script src="../../../gitbook/theme.js"></script>
    
        
        <script src="../../../gitbook/gitbook-plugin-splitter/splitter.js"></script>
        
    
        
        <script src="../../../gitbook/gitbook-plugin-custom-js-css/fc1111ed2beb4b0151beb99a0ab82def-folding-chapters.js"></script>
        
    
        
        <script src="../../../gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="../../../gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="../../../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../../../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../../../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

